Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include function annotations in request attribute #759

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

dewantawsif
Copy link

Closes #751

🤔 DOD Checklist

  • I did all relevant changes to the documentation and the changelog.

@dewantawsif dewantawsif requested a review from Foso as a code owner January 8, 2025 15:53
@github-actions github-actions bot added documentation Improvements or additions to documentation ktorfit-ksp ktorfit-lib labels Jan 8, 2025
@dewantawsif
Copy link
Author

@Foso sorry for being impatient but can I have this looked at and merged?

Copy link
Owner

@Foso Foso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dewantawsif thank you for your pull request! I looked at it, but for me it's not working. I can only find the annotations from Ktorfit and nothing else. Also please write a test for the code generation

Screenshot 2025-02-03 at 19 23 47

@dewantawsif
Copy link
Author

Hi @Foso I've did my own testing and even looked at the generated code and everything seems to be working fine. But I did notice that you've added the annotation to getUser while a call is made to getUserResponse in the main function


If this isn't the issue please let me know the steps you took to test the code so I could try to reproduce.

@dewantawsif
Copy link
Author

I changed the file name 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation ktorfit-ksp ktorfit-lib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom annotations support like Retrofit?
2 participants